/*
 * Copyright © 2023
 * @Author: zhangxiang
 * @Date: 2023-07-20 10:50:04
 * @LastEditors: zhangxiang
 * @LastEditTime: 2023-07-21 16:42:50
 * @Description:
 *
 */

export default {
  data() {
    return {
    }
  },
  computed: {
    /**
     * @description: 所属云商类型
     * @return {*}
     */
    parentCloudProvider() {
      return this.parentAttribute.cloudProvider || ''
    },
    /**
     * @description: 云商相关参数
     * @return {*}
     */
    parentAttribute() {
      const parentCell = this.cell.parent
      if (parentCell.type === 'cloud') {
        const busD = JSON.parse(parentCell.businessData || '{}')
        return busD.attribute || {}
      }
      return {}
    }
  },
  watch: {
  },
  methods: {
  },
  created() {
  }
}
